<!-- S 共享同城 左上-->
<#if details1?exists && details1?exists && details1?exists && (details1?size!= 0 ||details2?size!= 0 ||details3?size!= 0 )>
<section class="city-product">
	<div class="hd">
		<h2 class="hd-t">共享同城：超越团购，更实惠</h2>
		<#if details1?exists>
			<ul class="hd-txt">
				<#list details1 as detail>
					<li class="t${detail_index+1}">
						<#if detail.type==0 && detail.entityId?exists>
							<a href="${basePath}product/${detail.entityId}.htm" target="_blank">
						<#elseif detail.type==1 && detail.entityId?exists>
							<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank">
						<#elseif detail.type==3 && detail.entityId?exists>
							<a href="${basePath}search/c/${detail.entityId}.htm" target="_blank">
						<#else>
							<a href="#" target="_blank">
						</#if>${detail.entityName}</a>
					</li>
				</#list>
			</ul>
		</#if>
		<a href="#" target="_blank" class="hd-act">更多</a>
	</div>
	<div class="bd">
		<#if details1?exists>
			<div class="city-recom">
				<#list details1 as detail>
					<#if detail.type==0 && detail.entityId?exists>
						<a href="${basePath}product/${detail.entityId}.htm" target="_blank" class="img">
					<#elseif detail.type==1 && detail.entityId?exists>
						<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank" class="img">
					<#elseif detail.type==3 && detail.entityId?exists>
						<a href="${basePath}search/c/${detail.entityId}.htm" target="_blank" class="img">
					<#else>
						<a href="#" target="_blank" class="img">
					</#if>
					<img src="${img_server_url + "/" + detail.imageUrl1}" />	
					<p class="n">${detail.entityName}</p>
					</a>
					<p class="price"><em class="d">现价:<span>${detail.price?default('0')}</span>积分</em>
					</p>
				</#list>
			</div>
		</#if>
<!--共享同城左上-->
<!-- S 共享同城右上-->
		<#if details2?exists>
			<ul class="clearfix city-pro-list">
				<#list details2 as detail>
					<li>
						<#if detail.type==0 && detail.entityId?exists>
							<a href="${basePath}product/${detail.entityId}.htm" target="_blank" class="img">
						<#elseif detail.type==1 && detail.entityId?exists>
							<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank" class="img">
						<#elseif detail.type==3 && detail.entityId?exists>
							<a href="${basePath}search/c/${detail.entityId}.htm" target="_blank" class="img">
						<#else>
							<a href="#" target="_blank" class="img">
						</#if>
						<img src="${img_server_url + "/" + detail.imageUrl1}" />	
						<p class="n">${detail.entityName}</p></a>
						<p class="price"><em class="s">现价:<span>${detail.price?default('0')}</span>积分</em>
						</p>
					</li>
				</#list>
			</ul>
		</#if>	
<!-- E共享同城右上 -->	
<!-- S 共享同城下-->
		<#if details3?exists>
			<ul class="clearfix city-pro-list city-pro-panl">
				<#list details3 as detail>
					<li>
						<#if detail.type==0 && detail.entityId?exists>
							<a href="${basePath}product/${detail.entityId}.htm" target="_blank" class="img">
						<#elseif detail.type==1 && detail.entityId?exists>
							<a href="${basePath}search/b/${detail.entityId}.htm" target="_blank" class="img">
						<#elseif detail.type==3 && detail.entityId?exists>
							<a href="${basePath}search/c/${detail.entityId}.htm" target="_blank" class="img">
						<#else>
							<a href="#" target="_blank" class="img">
						</#if>
						<img src="${img_server_url + "/" + detail.imageUrl1}"/>	
						<p class="n">${detail.entityName}</p></a>
						<p class="price"><em class="s">现价:<span>${detail.price?default('0')}</span>积分</em>
						</p>
					</li>
				</#list>
			</ul>
		</#if>		
	</div>
</section>
</#if>
<!-- S 共享同城 下-->